package com.soxing.braindata.service.manager;

import com.soxing.braindata.dao.entity.Equipment;
import com.soxing.braindata.domain.request.EquipmentSearchRequest;
import com.soxing.braindata.domain.vo.EquipmentVo;
import com.soxing.common.utils.response.MyPage;
import com.soxing.common.utils.response.WebResponse;

public interface IEquipmentManager extends IManager<Equipment> {
    /**
     * 获取vo对象
     *
     * @param id
     * @return
     */
    WebResponse<EquipmentVo> getVoById(Integer id);

    /**
     * vo搜索
     *
     * @param request
     * @return
     */
    WebResponse<MyPage<EquipmentVo>> search(EquipmentSearchRequest request);

    WebResponse<MyPage<EquipmentVo>> getEquipmentByUser(String userNum,int pageSize,int pageNum);
}
